package com.zqweb.gulimall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zqweb.common.utils.PageUtils;
import com.zqweb.common.vo.GiteeSocialUserInfo;
import com.zqweb.common.vo.GiteeUserInfo;
import com.zqweb.gulimall.member.entity.MemberEntity;
import com.zqweb.gulimall.member.vo.UserLoginVo;
import com.zqweb.gulimall.member.vo.UserRegistVo;

import java.util.Map;

/**
 * 会员
 *
 * @author zq
 * @email zq@gmail.com
 * @date 2021-11-26 20:06:31
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void registerUser(UserRegistVo userRegistVo);

    MemberEntity login(UserLoginVo userLoginVo);

    MemberEntity loginByThirdparty(GiteeSocialUserInfo giteeSocialUserInfo);

}

